home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / X11 / xkb / symbols / tj < prev    next >
Text File  |  2005-01-13  |  6KB  |  163 lines

  1. //
  2. // Tajik keyboard 
  3. // it is a Russian layout keyboard, with SHCHA replaced with 
  4. // dead_cedilla/dead_macron
  5. // that allows to type the SHCHA with dead_cedilla + SHA
  6. // and all the extra Tajik keys:
  7. // dead_cedilla + KA, HA --> KA descender, HA descender
  8. // dead_macron + I, U, GHE --> I macron, U macron, GHE horizontal stroke
  9. // it requires proper dead_cedilla and dead_macron entries in Compose file
  10. // it also allows to use Mode_switch when in cyrillic mode to enter
  11. // special letters by doing Mode_switch + base letter
  12. //
  13. // AEN <aen@logic.ru> (for the Russian layout)
  14. // Pablo Saratxaga <pablo@mandrakesoft> (for the dead keys changes)
  15. //
  16.  
  17. partial default alphanumeric_keys 
  18. xkb_symbols "basic" {
  19.  
  20.     // Describes the differences between a very simple en_US
  21.     // keyboard and a very simple Tajik keybaord
  22.  
  23.     name[Group1]= "US/ASCII";
  24.     name[Group2]= "Tajik";
  25.  
  26.     key    <TLDE> {    [        grave,    asciitilde    ],
  27.             [     Cyrillic_io,     Cyrillic_IO    ]    };
  28.     key    <LSGT> {    [         less,       greater    ],
  29.             [          bar,     brokenbar    ]    };
  30.     key    <AD01> {    [        q,         Q    ],
  31.             [ Cyrillic_shorti, Cyrillic_SHORTI    ]    };
  32.     key    <AE01> {    [        1,        exclam    ],
  33.             [        1,        exclam     ]    };
  34.     key    <AB01> {    [        z,         Z    ],
  35.             [     Cyrillic_ya,     Cyrillic_YA    ]    };
  36.     key    <AC02> {    [        s,         S    ],
  37.             [   Cyrillic_yeru,   Cyrillic_YERU    ]    };
  38.     key    <AC01> {    [        a,         A    ],
  39.             [     Cyrillic_ef,     Cyrillic_EF    ]    };
  40.     key    <AD02> {    [        w,         W    ],
  41.             [    Cyrillic_tse,    Cyrillic_TSE    ]    };
  42.     key    <AE02> {    [        2,        at    ],
  43.             [        2,        quotedbl    ]    };
  44.     key    <AB03> {    [        c,         C    ],
  45.             [     Cyrillic_es,     Cyrillic_ES    ]    };
  46.     key    <AB02> {    [        x,         X    ],
  47.             [    Cyrillic_che,    Cyrillic_CHE    ],
  48.             [     0x010004b7,      0x010004b6    ]     };
  49.     key    <AC03> {    [        d,         D    ],
  50.             [     Cyrillic_ve,     Cyrillic_VE    ]    };
  51.     key    <AD03> {    [        e,         E    ],
  52.             [      Cyrillic_u,    Cyrillic_U    ],
  53.             [     0x010004ef,      0x010004ee    ]     };
  54.     key    <AE04> {    [        4,        dollar    ],
  55.             [        4,        asterisk    ]    };
  56.     key    <AE03> {    [        3,    numbersign    ],
  57.             [        3,      apostrophe    ]    };
  58.     key    <AB04> {    [        v,         V    ],
  59.             [     Cyrillic_em,     Cyrillic_EM    ]    };
  60.     key    <AC04> {    [        f,         F    ],
  61.             [      Cyrillic_a,    Cyrillic_A    ]    };
  62.     key    <AD05> {    [        t,         T    ],
  63.             [     Cyrillic_ie,     Cyrillic_IE    ]    };
  64.     key    <AD04> {    [        r,         R    ],
  65.             [     Cyrillic_ka,     Cyrillic_KA    ],
  66.             [     0x0100049b,      0x0100049a    ]     };
  67.     key    <AE05> {    [        5,       percent    ],
  68.             [        5,         colon    ]    };
  69.     key    <AB06> {    [        n,         N    ],
  70.             [     Cyrillic_te,     Cyrillic_TE    ]    };
  71.     key    <AB05> {    [        b,         B    ],
  72.             [      Cyrillic_i,    Cyrillic_I    ],
  73.             [     0x010004e3,      0x010004e2    ]     };
  74.     key    <AC06> {    [        h,         H    ],
  75.             [     Cyrillic_er,     Cyrillic_ER    ]    };
  76.     key    <AC05> {    [        g,         G    ],
  77.             [     Cyrillic_pe,     Cyrillic_PE    ]    };
  78.     key    <AD06> {    [        y,         Y    ],
  79.             [     Cyrillic_en,     Cyrillic_EN    ]    };
  80.     key    <AE06> {    [        6,     asciicircum    ],
  81.             [        6,         comma    ]    };
  82.     key    <AB07> {    [        m,         M    ],
  83.             [Cyrillic_softsign,Cyrillic_SOFTSIGN    ]    };
  84.     key    <AC07> {    [        j,         J    ],
  85.             [      Cyrillic_o,    Cyrillic_O    ]    };
  86.     key    <AD07> {    [        u,         U    ],
  87.             [    Cyrillic_ghe,    Cyrillic_GHE    ],
  88.             [     0x01000493,      0x01000492    ]     };
  89.     key    <AE07> {    [        7,     ampersand    ],
  90.             [        7,        period    ]    };
  91.     key    <AE08> {    [        8,      asterisk    ],
  92.             [        8,     semicolon    ]    };
  93.     key    <AB08> {    [        comma,          less    ],
  94.             [     Cyrillic_be,     Cyrillic_BE    ]    };
  95.     key    <AC08> {    [        k,         K    ],
  96.             [     Cyrillic_el,     Cyrillic_EL    ]    };
  97.     key    <AD08> {    [        i,         I    ],
  98.             [    Cyrillic_sha,    Cyrillic_SHA    ],
  99.             [    Cyrillic_shcha,  Cyrillic_SHCHA]     };
  100.     key    <AD09> {    [        o,         O    ],
  101.             [    dead_cedilla,     dead_macron    ]    };
  102.     key    <AE10> {    [        0,    parenright    ],
  103.             [        0,    parenright    ]    };
  104.     key    <AE09> {    [        9,     parenleft    ],
  105.             [        9,     parenleft    ]    };
  106.     key    <AB09> {    [       period,       greater    ],
  107.             [     Cyrillic_yu,     Cyrillic_YU    ]    };
  108.     key    <AB10> {    [        slash,      question    ],
  109.             [        slash,      question    ]    };
  110.     key    <AC09> {    [        l,         L    ],
  111.             [     Cyrillic_de,     Cyrillic_DE    ]    };
  112.     key    <AC10> {    [    semicolon,         colon    ],
  113.             [    Cyrillic_zhe,    Cyrillic_ZHE    ],
  114.             [     0x01000497,      0x01000496    ]     };
  115.     key    <AD10> {    [        p,         P    ],
  116.             [     Cyrillic_ze,     Cyrillic_ZE    ]    };
  117.     key    <AE11> {    [        minus,    underscore    ],
  118.             [        minus,    underscore    ]    };
  119.     key    <AC11> {    [      apostrophe,      quotedbl    ],
  120.             [      Cyrillic_e,    Cyrillic_E    ]    };
  121.     key    <AD11> {    [     bracketleft,     braceleft    ],
  122.             [     Cyrillic_ha,     Cyrillic_HA    ],
  123.             [     0x010004b3,      0x010004b2    ]     };
  124.     key    <AE12> {    [        equal,          plus    ],
  125.             [        equal,          plus    ]    };
  126.     key    <AD12> {    [    bracketright,    braceright    ],
  127.             [Cyrillic_hardsign,Cyrillic_HARDSIGN    ]    };
  128.     key    <BKSL> {    [    backslash,           bar    ],
  129.             [    backslash,             bar    ]    };
  130.  
  131.  
  132.     // End alphanumeric section
  133.     
  134.     // Begin modifier mappings 
  135.  
  136.     modifier_map Shift  { Shift_L };
  137.     modifier_map Lock   { Caps_Lock, ISO_Lock };
  138.     modifier_map Control{ Control_L };
  139.     modifier_map Mod3   { Mode_switch };
  140. };
  141.  
  142. partial alphanumeric_keys
  143. xkb_symbols "winkeys" {
  144.     include "ru(basic)"
  145.     key    <AE04> {    [        4,        dollar    ],
  146.             [        4,       semicolon    ]    };
  147.     key    <AE03> {    [        3,    numbersign    ],
  148.             [        3,      numbersign    ]    };
  149.     key    <AE05> {    [        5,       percent    ],
  150.             [        5,       percent    ]    };
  151.     key    <AE06> {    [        6,     asciicircum    ],
  152.             [        6,         colon    ]    };
  153.     key    <AE07> {    [        7,     ampersand    ],
  154.             [        7,      question    ]    };
  155.     key    <AE08> {    [        8,      asterisk    ],
  156.             [        8,      asterisk    ]    };
  157.     key    <AB10> {    [        slash,      question    ],
  158.             [       period,         comma    ]    };
  159.     key    <BKSL> {    [    backslash,           bar    ],
  160.             [        slash,             bar    ]    };
  161. };
  162.  
  163.